angular.module('myApp.carData')
.factory("allCar", function($http){
    var service = {};
    service.name = "yanglei"
    service.age = 23

    // this.get_all_car = function(){
    //     console.log("This is allCar Server!")
    // }
    // this.all_car_position= function(){
    //     return $http.post(baseurl + "/all/car_position").then((res)=>{
    //             console.log(res.data)
    //             return res.data
    //     })
    // }
    return service;
})